<template>
  <div>
      <el-row :gutter="10">
          <el-checkbox v-model="favorites" :label="1">上网</el-checkbox>
          <el-checkbox v-model="favorites" :label="2">抽烟</el-checkbox>
          <el-checkbox v-model="favorites" :label="3">打牌</el-checkbox>
          <el-checkbox v-model="favorites" :label="4">玩</el-checkbox>
      </el-row>
      <el-row :gutter="10">
         <el-checkbox-group v-model="favorites">
          <el-checkbox  :label="1">上网</el-checkbox>
          <el-checkbox  :label="2">抽烟</el-checkbox>
          <el-checkbox  :label="3">打牌</el-checkbox>
          <el-checkbox  :label="4">玩</el-checkbox>
         </el-checkbox-group>
      </el-row>
  </div>
</template>

<script>
export default {
    data(){
        return {
            favorites:[1,3]

        }
    }
}
</script>

<style>

</style>